package cn.ac.jaas.isc.vegetable.admin;

import cn.ac.jaas.isc.vegetable.common.feign.annotation.EnableVegetableFeignClients;
import cn.ac.jaas.isc.vegetable.common.security.annotation.EnableVegetableResourceServer;
import cn.ac.jaas.isc.vegetable.common.swagger.annotation.EnableVegetableSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 张高昌
 * @date 2022/3/30 17:03
 * @description: 功能描述
 */
@EnableVegetableSwagger2
@EnableVegetableFeignClients(basePackages = "cn.ac.jaas.isc")
@EnableVegetableResourceServer
@EnableDiscoveryClient
@SpringBootApplication
@EnableCaching
public class VegetableAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(VegetableAdminApplication.class, args);
    }
}
